package src.program;

import src.controller.moviesMain;

public class programMain {

	public static void main(String[] args) {

//		SessionFactory sessionFactory = null;
//		Session session = null;
//		try {
//			sessionFactory = HibernateUtil.getSessionFactory();
//			session = sessionFactory.openSession();
//			session.beginTransaction();
//			session.getTransaction().commit();
//		} catch (Exception e) {
//			if (session != null)
//				session.getTransaction().rollback();
//			e.printStackTrace();
//		} finally {
//			if (session != null)
//				session.close();
//		}
		moviesMain beginMovies = new moviesMain();
		beginMovies.StartApp();
	}
}
